package com.autumn.oauth2.client.controllers;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class DemoController {

	@GetMapping("/")
	public String welcome() {
		return "欢迎访问";
	}
	
	@GetMapping("/empInfo")
	public String empInfo() {
		return "我是员工";
	}
	
	@GetMapping("/userLogin")
	public String userLogin() {
		return "欢迎访问";
	}
}
